package com.qr.bean.wmyw;

import java.sql.Timestamp;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:24:41
 */
@ApiModel(value = "qr_printer", description = "打印机配置")
@TableName(value = "qr_printer")
public class QrPrinter implements Serializable {
	@ApiModelProperty(value = "标识id")
	@TableId(type = IdType.AUTO,value = "printer_id")
	@NotNull(message = "标识id不能为空")
	private Integer printer_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "打印机名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "终端号")
	@TableField(value="machine_id")
	private String machine_id;
	@ApiModelProperty(value = "设备秘钥")
	@TableField(value="secret")
	private String secret;
	@ApiModelProperty(value = "用户ID")
	@TableField(value="user_id")
	private String user_id;
	@ApiModelProperty(value = "APIKEY")
	@TableField(value="api_key")
	private String api_key;
	@ApiModelProperty(value = "打印方式:整单打印=1 按商品分组打印=2 一菜一单=3")
	@TableField(value="print_type1")
	private String print_type1;
	@ApiModelProperty(value = "打印支持:外卖订单=1 到店订单=2")
	@TableField(value="print_type2")
	private String print_type2;
	@ApiModelProperty(value = "打印数量")
	@TableField(value="num")
	private Integer num;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;

 
	public Integer getPrinter_id() {
		return printer_id;
	}
	public void setPrinter_id(Integer printer_id) {
		this.printer_id = printer_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public String getMachine_id() {
		return machine_id;
	}
	public void setMachine_id(String machine_id) {
		this.machine_id = machine_id;
	}
 
	public String getSecret() {
		return secret;
	}
	public void setSecret(String secret) {
		this.secret = secret;
	}
 
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
 
	public String getApi_key() {
		return api_key;
	}
	public void setApi_key(String api_key) {
		this.api_key = api_key;
	}
 
	public String getPrint_type1() {
		return print_type1;
	}
	public void setPrint_type1(String print_type1) {
		this.print_type1 = print_type1;
	}
 
	public String getPrint_type2() {
		return print_type2;
	}
	public void setPrint_type2(String print_type2) {
		this.print_type2 = print_type2;
	}
 
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}

}